# !/usr/bin/env python
# coding=utf-8
# @Time    : 2018/5/9 16:07
# @Author  : 6imensiva
# @Site    : https://gitee.com/dimensiva/scrayp_test1.git
# @File    : db.py
# @Software: PyCharm
# @Version: 2.7.5
from sqlalchemy import Column, String, Integer, DateTime
from . import Base


class Housing(Base):
    __tablename__ = 't_housing'

    id = Column(Integer, primary_key=True, autoincrement=True)
    project_name = Column(String(20), nullable=False)
    project_uuid = Column(String(50), nullable=False, unique=True)
    project_district = Column(String(10), nullable=False)
    create_time = Column(DateTime, nullable=False)


